<%@ page language="java" contentType="text/html; charset=utf-8" %>
<jsp:useBean id="rs" class="weaver.conn.RecordSet" scope="page"/>
<jsp:useBean id="bb" class="weaver.general.BaseBean"/>
<%@ page import="com.alibaba.fastjson.JSONObject" %>
<%@ page import="weaver.general.Util" %>
<%
    JSONObject jsonData = new JSONObject();
    String month = Util.null2String( request.getParameter( "month" ) );
    int count = 0;
    rs.executeQuery( "select count(id) from uf_xjhy " +
            "where left(hyjsrq,7)=? and (pzh=''or pzh is null)", month );
    if (rs.next()) {
        count = Util.getIntValue( rs.getString( 1 ) );
    }
    jsonData.put( "count", count );
    out.print( jsonData.toJSONString() );
%>
